const EntityDamageSource_ = Java.loadClass("net.minecraft.world.damagesource.EntityDamageSource")
/**
 * @param {Internal.Player} player
 * @param {String} string
*/
function EOUDamageSource(string, player) {
    if (player) {
        return new EntityDamageSource_(string, player)
    }else{
        return new DamageSource(string)
    }
}

const EOUdamageType = {
    mageDamage: "eouMageDamage"
}